home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / minix / up1510b.tgz / up1510b / include / host_os.h < prev    next >
C/C++ Source or Header  |  1990-07-19  |  3KB  |  137 lines

  1. /****************************************************************************/
  2. /*                                        */
  3. /* (c) Copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands */
  4. /*                                        */
  5. /*    This product is part of the  Amoeba  distributed operating system.    */
  6. /*                                        */
  7. /*    Permission to use, sell, duplicate or disclose this software must be  */
  8. /* obtained in writing.  Requests for such permissions may be sent to        */
  9. /*                                        */
  10. /*                                        */
  11. /*        Dr. Andrew S. Tanenbaum                        */
  12. /*        Dept. of Mathematics and Computer Science            */
  13. /*        Vrije Universiteit                        */
  14. /*        Postbus 7161                            */
  15. /*        1007 MC Amsterdam                        */
  16. /*        The Netherlands                            */
  17. /*                                        */
  18. /****************************************************************************/
  19.  
  20. /*
  21. **    This is the host_os.h file for Minix
  22. */
  23.  
  24. #define    SIGAMOEBA    SIGEMT
  25.  
  26. #ifdef AM_KERNEL
  27. /*
  28. ** to avoid altering trans.c, portcache.c, etc we need the following
  29. */
  30.  
  31. #ifndef PRIVATE
  32. #define    PRIVATE        static
  33. #endif
  34.  
  35. /*
  36. ** The following sequences of undefs and defines is to avoid clashes in the
  37. ** naming of variables and constants in Amoeba and Minix.
  38. */
  39.  
  40. #undef ABORT
  41. #undef ABORTED    
  42. #undef ACK
  43. #undef ACKED
  44. #undef ALIVE
  45. #undef BADADDRESS
  46. #undef BROADCAST
  47. #undef BUFSIZE
  48. #undef CRASH
  49. #undef DEAD
  50. #undef DELETE
  51. #undef DONE
  52. #undef DONTKNOW
  53. #undef ENQUIRY
  54. #undef FAIL
  55. #undef FAILED
  56. #undef GLOBAL
  57. #undef HASHMASK
  58. #undef HEADERSIZE
  59. #undef HERE
  60. #undef IDLE
  61. #undef IMMORTAL
  62. #undef LAST
  63. #undef LOCAL
  64. #undef LOCATE
  65. #undef LOCATING
  66. #undef LOOK
  67. #undef MEMFAULT
  68. #undef MORTAL
  69. #undef NAK
  70. #undef NESTED
  71. #undef NHASH
  72. #undef NILVECTOR
  73. #undef NOSEND
  74. #undef NOTFOUND
  75. #undef NOWAIT
  76. #undef NOWHERE
  77. #undef PACKETSIZE
  78. #undef PORT
  79. #undef RECEIVING
  80. #undef REPLY
  81. #undef REQUEST
  82. #undef RETRANS
  83. #undef RUNNABLE
  84. #undef SEND
  85. #undef SENDING
  86. #undef SERVING
  87. #undef SOMEWHERE
  88. #undef TASK
  89. #undef TYPE
  90. #undef WAIT
  91.  
  92. #undef bit
  93. #undef concat
  94. #undef disable
  95. #undef enable
  96. #undef hash
  97. #undef hibyte
  98. #undef lobyte
  99. #undef siteaddr
  100. #undef sizeoftable
  101.  
  102. #define allocbuf    am_allocbuf
  103. #define append        am_append
  104. #define area        am_area
  105. #define badassertion    am_badassertion
  106. #define cleanup        am_cleanup
  107. #define debug        am_debug
  108. #define destroy        am_destroy
  109. #define freebuf        am_freebuf
  110. #define getall        am_gall
  111. #define getbuf        am_gbuf
  112. #define getreq        am_greq
  113. #define getsig        am_gsig
  114. #define handle        am_handle
  115. #define locate        am_locate
  116. #define netenable    am_netenable
  117. #define netsweep    am_sweep
  118. #define ntask        am_ntsk
  119. #define    pickoff        am_pickoff
  120. #define porttab        am_ptab
  121. #define puthead        am_puthead
  122. #define putbuf        am_pbuf
  123. #define putrep        am_prep
  124. #define putsig        am_psig
  125. #define sendsig        am_sendsig
  126. #define sleep        am_sleep
  127. #define task        am_task
  128. #define ticker        am_ticker
  129. #define timeout        am_timeout
  130. #define trans        am_trans
  131. #define umap        am_umap
  132. #define uniqport    am_uniqport
  133. #define uppertask    am_uppertask
  134. #define wakeup        am_wakeup
  135.  
  136. #endif /* AM_KERNEL */
  137.